package com.ruoyi.project.system.travelrequest.service.impl;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.ruoyi.project.system.drivers.domain.VeDrivers;
import com.ruoyi.project.system.drivers.mapper.VeDriversMapper;
import com.ruoyi.project.system.user.service.IUserService;

import org.activiti.engine.HistoryService;
import org.activiti.engine.RuntimeService;
import org.activiti.engine.TaskService;
import org.activiti.engine.runtime.ProcessInstance;
import org.activiti.engine.task.Task;
import org.activiti.engine.task.TaskQuery;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.project.system.travelrequest.mapper.VeTravelrequestMapper;
import com.ruoyi.project.system.travelrequest.domain.VeTravelrequest;
import com.ruoyi.project.system.travelrequest.service.IVeTravelrequestService;
import com.ruoyi.common.utils.text.Convert;
import org.springframework.transaction.annotation.Transactional;

/**
 * 【请填写功能名称】Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-01-06
 */
@Service
public class VeTravelrequestServiceImpl implements IVeTravelrequestService 
{
    @Autowired
    private VeTravelrequestMapper veTravelrequestMapper;


    /**
     * 查询【请填写功能名称】
     * 
     * @param RequestID 【请填写功能名称】主键
     * @return 【请填写功能名称】
     */
    @Override
    public VeTravelrequest selectVeTravelrequestByRequestID(Long RequestID)
    {
        return veTravelrequestMapper.selectVeTravelrequestByRequestID(RequestID);
    }

    /**
     * 查询【请填写功能名称】列表
     * 
     * @param veTravelrequest 【请填写功能名称】
     * @return 【请填写功能名称】
     */
    @Override
    public List<VeTravelrequest> selectVeTravelrequestList(VeTravelrequest veTravelrequest)
    {
        return veTravelrequestMapper.selectVeTravelrequestList(veTravelrequest);
    }

    /**
     * 新增【请填写功能名称】
     * 
     * @param veTravelrequest 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int insertVeTravelrequest(VeTravelrequest veTravelrequest)
    {
        return veTravelrequestMapper.insertVeTravelrequest(veTravelrequest);
    }

    /**
     * 修改【请填写功能名称】
     * 
     * @param veTravelrequest 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int updateVeTravelrequest(VeTravelrequest veTravelrequest)
    {
        return veTravelrequestMapper.updateVeTravelrequest(veTravelrequest);
    }

    /**
     * 批量删除【请填写功能名称】
     * 
     * @param RequestIDs 需要删除的【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteVeTravelrequestByRequestIDs(String RequestIDs)
    {
        return veTravelrequestMapper.deleteVeTravelrequestByRequestIDs(Convert.toStrArray(RequestIDs));
    }

    /**
     * 删除【请填写功能名称】信息
     * 
     * @param RequestID 【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteVeTravelrequestByRequestID(Long RequestID)
    {
        return veTravelrequestMapper.deleteVeTravelrequestByRequestID(RequestID);
    }

}
